www.gusucode.com > Modeling Pneumatic Robot Actuators 工具箱matlab源码程序 > Modeling Pneumatic Robot Actuators/MSRA_PneumaticRobotSeries/Examples/2_Simscape Multibody Throwing Mechanism/parametersMultibody.m

    % Copyright 2018 The MathWorks, Inc.
%% Add image path
addpath('Images');

%% Sphere dimensions
radius_sphere = 0.01;

%% Piston cylinder dimensions
cylinder_crosssection = [0.012 0; 0.012 0.25; 0.01  0.25; 0.01 0];
piston_rod_radius = 0.01/3;
piston_rod_length = 0.2;
piston_radius = 0.01;
piston_length = 0.01;

%% Box and ball dimensions
radius_ball = 9e-3; 
box_length = 0.03;
box_breadth = 0.03;
box_height = 0.005;
box_height_s = 0.002;
base_length = 3.5;
base_breadth = 1;
base_height = 0.05;

%% Frame dimensions
frame_cyl_height = 0.008;
frame_cyl_radius = 0.1;
frame_stand_length = 0.02;
frame_stand_breadth = 0.02;
frame_stand_height = 0.4280;

%% Yello box diemensions
box_yellow_length = 0.2;
box_yellow_breadth = 0.3;
box_yellow_height = 0.02;